package composer.base;

import java.util.Vector;


public class Track {

	private Vector notes;
	private byte channel;

	public Track(byte channel){
		this.channel = channel;
		this.notes = new Vector();
	}
	
	public void addNote(Note newNote){
		//fazer um insertion sort (a la busca binaria aqui)
		this.notes.addElement(newNote);
	}

	public byte getChannel() {
		return channel;
	}

	public Vector getNotes() {
		return notes;
	}
	
	
}
